package com.yx.front.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 关系审核表
 * </p>
 *
 * @author YangXiong
 * @since 2023-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_audit_relation")
@ApiModel(value="AuditRelation对象", description="关系审核表")
public class AuditRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "申请人id")
    private Long applyId;

    @ApiModelProperty(value = "待审核内容")
    private String context;

    @ApiModelProperty(value = "审核状态 0 待审核 1 已审核")
    private Integer status;

    @ApiModelProperty(value = "要谁审核")
    private Long auditBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date modifyTime;

    @ApiModelProperty(value = "是否删除 0 未删 1 已删")
    private Integer isDelete;

    @ApiModelProperty(value = "是否同意 0 待同意 1 已同意")
    private Integer auditStatus;


}
